﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cilada.engine.DependencyExtraction;

namespace cilada.engine.Graph
{
    public class MethodVertex : IMember
    {
        public MethodVertex(string fullName)
        {
            if (String.IsNullOrEmpty(fullName)) throw new ArgumentNullException("full name cannot be null or empty.");

            this.FullName = fullName;
        }

        public override bool IsMethod()
        {
            return true;
        }

        public void Accept(IVisitor v)
        {
            v.Visit(this);
        }
    }
}
